package com.maple.webrtc.core;


import com.maple.webrtc.utils.LogUtils;

import org.webrtc.SdpObserver;
import org.webrtc.SessionDescription;

public class SdpObserverAdapter implements SdpObserver {

    private String tag;
    public SdpObserverAdapter(String tag) {
        this.tag = "------------->" + tag;
    }

    @Override
    public void onCreateSuccess(SessionDescription sdp) {
        LogUtils.logGGQ("onCreateSuccess" + this.tag);
    }

    @Override
    public void onSetSuccess() {
        LogUtils.logGGQ("onSetSuccess" + this.tag);
    }

    @Override
    public void onCreateFailure(String error) {
        LogUtils.logGGQ("onCreateFailure" + this.tag);
    }

    @Override
    public void onSetFailure(String error) {
        LogUtils.logGGQ("onSetFailure" + this.tag + "---->" + error);
    }

}
